const moment = require('moment')
function printLog(Level,module,api,apiModule,msg){
    if(api == undefined)
        console.log(`[${Level}][${module}][${moment().format()}]:${msg}`);
    else
        console.log(`[${Level}][${module}][${apiModule} ${api}][${moment().format()}]:${msg}`);
    
}
module.exports = printLog;